"""
MCP 多代理系统配置
"""

# 代理配置
AGENT_CONFIG = {
    "research_agent": {
        "name": "研究代理",
        "description": "负责搜索和收集相关信息",
        "max_retries": 2
    },
    "writing_agent": {
        "name": "撰写代理",
        "description": "基于研究结果生成文章初稿",
        "max_retries": 2
    },
    "review_agent": {
        "name": "审核代理",
        "description": "检查内容质量和逻辑一致性",
        "max_retries": 2,
        "backup_agent": "senior_review_agent"
    },
    "polishing_agent": {
        "name": "润色代理",
        "description": "优化语言表达和文章结构",
        "max_retries": 2
    }
}

# 重试策略
RETRY_STRATEGY = {
    "level_1": {
        "max_attempts": 2,
        "description": "相同代理重新执行"
    },
    "level_2": {
        "max_attempts": 1,
        "description": "切换至备用代理执行"
    },
    "level_3": {
        "max_attempts": 1,
        "description": "向用户请求补充信息"
    }
}

# 文章风格选项
WRITING_STYLES = {
    "academic": "学术风格",
    "professional": "专业风格",
    "casual": "通俗风格",
    "technical": "技术风格"
}